Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
Ruby
1) Active Record
2) Array
3) CGI
4) Class
5) Collections
6) Database
7) Date
8) Design Patterns
9) Development
10) File Directory
11) GUI
12) Hash
13) Language Basics
14) Method
15) Network
16) Number
17) Rails
18) Range
19) Reflection
20) Statement
21) String
22) Threads
23) Time
24) Tk
25) Unit Test
26) Windows Platform
27) XML
Threads
1) Access the thread-local data from outside
2) Basic Ruby Threads in Action
3) Cede control from a thread
4) Check the real interval between sleep
5) Check the thread status
6) Check to see what you can do
7) Classic deadlock
8) Controlling the Thread Scheduler
9) Create threads in a while loop
10) Daemon spawn
11) Each thread is given only one second to execute
12) Environment in Child thread
13) Exit a thread
14) Fork a child process
15) Fork a number of listening processes to increase the maximum number of connections
16) Fork is a method provided by the Kernel module that creates a fork of the current process
17) Fork with block
18) Forking a Daemon Process on Unix rb
19) Get the value returned from a thread
20) Getting a List of All Threads
21) Is it a parent process or a child process
22) Is it still alive, stopped
23) It is the main thread
24) Join a thread after sleeping
25) Join threads
26) Join two threads
27) Kill a thread and pass execution to another thread
28) Make specific objects into monitors
29) Manipulate variables from the outer scope
30) Multithreaded Applications in Ruby
31) Multithreads without synchronization
32) Pass value into a thread
33) Rescue the exception at the time the threads are joined
34) Run all threads
35) Run this block in a new thread
36) Sleep a thread
37) Sleep amount of time
38) Sleep for 1 second
39) Sleep for less then a second
40) Stop a thread
41) Synchronizing Access to an Object
42) This is easy using monitors
43) Thread abort_on_exception = true
44) Thread critical = true
45) Thread Operations from Within Threads Themselves
46) Thread Priority
47) ThreadInstance abort_on_exception = true
48) True local variables (not accessible from outside)
49) Try to interrupt a thread
50) Use monitor to lock
51) Use mutex to lock
52) Use of Thread stop, Thread pass, and Thread run
53) Use SizedQueue to coordinate producer and consumer
54) Use upto to create 3 threads
55) Waiting a Certain Amount of Time
56) Wake up a thread
57) Wakeup main thread
58) Webrick daemon
59) What is the safe_level
60) What is your priority